package com.woniuxy.service;

import com.woniuxy.entity.Appointments;
import com.woniuxy.vo.AppointmentsVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface AppointmentService {
    Object buildAppointment(AppointmentsVo appointments);

    List<AppointmentsVo> selectAppByOrCond(Integer userId, Integer status, Integer payType);

    boolean updateAppointmentCounts( Long scheduleId);


    boolean updateStatusToPaid( Long order_number,Integer newStatus );

    boolean  updateAppStatusByConditions(Long userId, String timeSolt,String date,String  newAppStatus);

    void notifyUrl(Map<String, String> params);

    List<AppointmentsVo> findAppointmentsByConditions(String payType,Integer status,Long userId);
}
